<template>
  <div class="pageBox">
    <img :src="imgUrl" alt="404" class="img" />
    <div class="mt30">
      <div class="fs26 f700"> 抱歉，当前服务暂不可用 </div>
      <div class="mt30">
        <van-button type="primary" size="small" @click="router.push('/')">返回首页</van-button>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import imgUrl from '@/assets/images/404.png'
import { useRouter } from 'vue-router'

const router = useRouter()
</script>

<style lang="scss" scoped>
.pageBox {
  text-align: center;
  margin: 100px auto;
}

.img {
  width: 800px;
}
</style>